<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    p::before {
      content: "《";
      color: red;
    }

    p::after {
      content: "》";
      color: red;
    }
  </style>
</head>

<body>
  <p>hello this is p1</p>
  <p>hello this is p2</p>
  <p>hello this is p3</p>
</body>

</html>